package com.powernode.mapper;

import com.powernode.domain.Customer;
import com.powernode.domain.VisitLog;
import com.powernode.dto.CustomerDto;
import com.powernode.dto.VisitDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CustomerMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Customer record);

    int insertSelective(Customer record);

    Customer selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Customer record);

    int updateByPrimaryKey(Customer record);

    List<Customer> queryUsers(@Param("customerDto") CustomerDto customerDto);

    void changeCustomer(@Param("userId") Integer userId, @Param("customerId") Integer[] customerId);

}